package cn.dzhang.spring.web.model;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import cn.dzhang.spring.model.User;

@XmlRootElement(name = "users")
public class UsersWrap extends ModelsWrap<User> {

	public UsersWrap() {
	}

	public UsersWrap(List<User> list) {
		super(list);
	}

	@Override
	@XmlElement(name = "user")
	public List<User> getList() {
		return list;
	}

}
